Auto merge of #3899 - alexcrichton:vendor-empty-ok, r=matklad
authorbors <bors@rust-lang.org>
Wed, 26 Apr 2017 15:10:04 +0000 (15:10 +0000)
committerbors <bors@rust-lang.org>
Wed, 26 Apr 2017 15:10:04 +0000 (15:10 +0000)
commit06708ffa44448d612b7d40596e9333d15e48667f
tree63429f6446f358734664f93bd1253685151ddf64
parent80e653b51183b0c90f3473805ccd341de1a2bbe2
parentc6fb4656280ca2779521bfbc9c2ce3e7f31bef29
Auto merge of #3899 - alexcrichton:vendor-empty-ok, r=matklad

Support vendor dirs with "empty" directories

Looks like when vendor directories are checked into a VCS there's been instances
where deleting a folder in the VCS doesn't fully delete the folder from the
filesystem. This can lead to [spurious errors][moz] that are difficult to debug.

To help handle this tweak directory sources to ignore empty directories or
directories with only dotfiles by default.

[moz]: https://bugzilla.mozilla.org/show_bug.cgi?id=1342292